Integrand size = 29, antiderivative size = 430 \[ \int \frac {(a+b \text {arccosh}(c x))^2}{x^3 \sqrt {d-c^2 d x^2}} \, dx=\frac {b c \sqrt {-1+c x} \sqrt {1+c x} (a+b \text {arccosh}(c x))}{x \sqrt {d-c^2 d x^2}}-\frac {\sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))^2}{2 d x^2}+\frac {c^2 \sqrt {-1+c x} \sqrt {1+c x} (a+b \text {arccosh}(c x))^2 \arctan \left (e^{\text {arccosh}(c x)}\right )}{\sqrt {d-c^2 d x^2}}-\frac {b^2 c^2 \sqrt {-1+c x} \sqrt {1+c x} \arctan \left (\sqrt {-1+c x} \sqrt {1+c x}\right )}{\sqrt {d-c^2 d x^2}}-\frac {i b c^2 \sqrt {-1+c x} \sqrt {1+c x} (a+b \text {arccosh}(c x)) \operatorname {PolyLog}\left (2,-i e^{\text {arccosh}(c x)}\right )}{\sqrt {d-c^2 d x^2}}+\frac {i b c^2 \sqrt {-1+c x} \sqrt {1+c x} (a+b \text {arccosh}(c x)) \operatorname {PolyLog}\left (2,i e^{\text {arccosh}(c x)}\right )}{\sqrt {d-c^2 d x^2}}+\frac {i b^2 c^2 \sqrt {-1+c x} \sqrt {1+c x} \operatorname {PolyLog}\left (3,-i e^{\text {arccosh}(c x)}\right )}{\sqrt {d-c^2 d x^2}}-\frac {i b^2 c^2 \sqrt {-1+c x} \sqrt {1+c x} \operatorname {PolyLog}\left (3,i e^{\text {arccosh}(c x)}\right )}{\sqrt {d-c^2 d x^2}} \]
[Out]
Time = 0.34 (sec) , antiderivative size = 430, normalized size of antiderivative = 1.00, number of steps used = 12, number of rules used = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.310, Rules used = {5932, 5946, 4265, 2611, 2320, 6724, 5883, 94, 211} \[ \int \frac {(a+b \text {arccosh}(c x))^2}{x^3 \sqrt {d-c^2 d x^2}} \, dx=\frac {c^2 \sqrt {c x-1} \sqrt {c x+1} \arctan \left (e^{\text {arccosh}(c x)}\right ) (a+b \text {arccosh}(c x))^2}{\sqrt {d-c^2 d x^2}}-\frac {i b c^2 \sqrt {c x-1} \sqrt {c x+1} \operatorname {PolyLog}\left (2,-i e^{\text {arccosh}(c x)}\right ) (a+b \text {arccosh}(c x))}{\sqrt {d-c^2 d x^2}}+\frac {i b c^2 \sqrt {c x-1} \sqrt {c x+1} \operatorname {PolyLog}\left (2,i e^{\text {arccosh}(c x)}\right ) (a+b \text {arccosh}(c x))}{\sqrt {d-c^2 d x^2}}+\frac {b c \sqrt {c x-1} \sqrt {c x+1} (a+b \text {arccosh}(c x))}{x \sqrt {d-c^2 d x^2}}-\frac {\sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))^2}{2 d x^2}+\frac {i b^2 c^2 \sqrt {c x-1} \sqrt {c x+1} \operatorname {PolyLog}\left (3,-i e^{\text {arccosh}(c x)}\right )}{\sqrt {d-c^2 d x^2}}-\frac {i b^2 c^2 \sqrt {c x-1} \sqrt {c x+1} \operatorname {PolyLog}\left (3,i e^{\text {arccosh}(c x)}\right )}{\sqrt {d-c^2 d x^2}}-\frac {b^2 c^2 \sqrt {c x-1} \sqrt {c x+1} \arctan \left (\sqrt {c x-1} \sqrt {c x+1}\right )}{\sqrt {d-c^2 d x^2}} \]
[In]
[Out]
Rule 94
Rule 211
Rule 2320
Rule 2611
Rule 4265
Rule 5883
Rule 5932
Rule 5946
Rule 6724
Rubi steps \begin{align*} \text {integral}& = -\frac {\sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))^2}{2 d x^2}+\frac {1}{2} c^2 \int \frac {(a+b \text {arccosh}(c x))^2}{x \sqrt {d-c^2 d x^2}} \, dx-\frac {\left (b c \sqrt {-1+c x} \sqrt {1+c x}\right ) \int \frac {a+b \text {arccosh}(c x)}{x^2} \, dx}{\sqrt {d-c^2 d x^2}} \\ & = \frac {b c \sqrt {-1+c x} \sqrt {1+c x} (a+b \text {arccosh}(c x))}{x \sqrt {d-c^2 d x^2}}-\frac {\sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))^2}{2 d x^2}+\frac {\left (c^2 \sqrt {-1+c x} \sqrt {1+c x}\right ) \text {Subst}\left (\int (a+b x)^2 \text {sech}(x) \, dx,x,\text {arccosh}(c x)\right )}{2 \sqrt {d-c^2 d x^2}}-\frac {\left (b^2 c^2 \sqrt {-1+c x} \sqrt {1+c x}\right ) \int \frac {1}{x \sqrt {-1+c x} \sqrt {1+c x}} \, dx}{\sqrt {d-c^2 d x^2}} \\ & = \frac {b c \sqrt {-1+c x} \sqrt {1+c x} (a+b \text {arccosh}(c x))}{x \sqrt {d-c^2 d x^2}}-\frac {\sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))^2}{2 d x^2}+\frac {c^2 \sqrt {-1+c x} \sqrt {1+c x} (a+b \text {arccosh}(c x))^2 \arctan \left (e^{\text {arccosh}(c x)}\right )}{\sqrt {d-c^2 d x^2}}-\frac {\left (i b c^2 \sqrt {-1+c x} \sqrt {1+c x}\right ) \text {Subst}\left (\int (a+b x) \log \left (1-i e^x\right ) \, dx,x,\text {arccosh}(c x)\right )}{\sqrt {d-c^2 d x^2}}+\frac {\left (i b c^2 \sqrt {-1+c x} \sqrt {1+c x}\right ) \text {Subst}\left (\int (a+b x) \log \left (1+i e^x\right ) \, dx,x,\text {arccosh}(c x)\right )}{\sqrt {d-c^2 d x^2}}-\frac {\left (b^2 c^3 \sqrt {-1+c x} \sqrt {1+c x}\right ) \text {Subst}\left (\int \frac {1}{c+c x^2} \, dx,x,\sqrt {-1+c x} \sqrt {1+c x}\right )}{\sqrt {d-c^2 d x^2}} \\ & = \frac {b c \sqrt {-1+c x} \sqrt {1+c x} (a+b \text {arccosh}(c x))}{x \sqrt {d-c^2 d x^2}}-\frac {\sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))^2}{2 d x^2}+\frac {c^2 \sqrt {-1+c x} \sqrt {1+c x} (a+b \text {arccosh}(c x))^2 \arctan \left (e^{\text {arccosh}(c x)}\right )}{\sqrt {d-c^2 d x^2}}-\frac {b^2 c^2 \sqrt {-1+c x} \sqrt {1+c x} \arctan \left (\sqrt {-1+c x} \sqrt {1+c x}\right )}{\sqrt {d-c^2 d x^2}}-\frac {i b c^2 \sqrt {-1+c x} \sqrt {1+c x} (a+b \text {arccosh}(c x)) \operatorname {PolyLog}\left (2,-i e^{\text {arccosh}(c x)}\right )}{\sqrt {d-c^2 d x^2}}+\frac {i b c^2 \sqrt {-1+c x} \sqrt {1+c x} (a+b \text {arccosh}(c x)) \operatorname {PolyLog}\left (2,i e^{\text {arccosh}(c x)}\right )}{\sqrt {d-c^2 d x^2}}+\frac {\left (i b^2 c^2 \sqrt {-1+c x} \sqrt {1+c x}\right ) \text {Subst}\left (\int \operatorname {PolyLog}\left (2,-i e^x\right ) \, dx,x,\text {arccosh}(c x)\right )}{\sqrt {d-c^2 d x^2}}-\frac {\left (i b^2 c^2 \sqrt {-1+c x} \sqrt {1+c x}\right ) \text {Subst}\left (\int \operatorname {PolyLog}\left (2,i e^x\right ) \, dx,x,\text {arccosh}(c x)\right )}{\sqrt {d-c^2 d x^2}} \\ & = \frac {b c \sqrt {-1+c x} \sqrt {1+c x} (a+b \text {arccosh}(c x))}{x \sqrt {d-c^2 d x^2}}-\frac {\sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))^2}{2 d x^2}+\frac {c^2 \sqrt {-1+c x} \sqrt {1+c x} (a+b \text {arccosh}(c x))^2 \arctan \left (e^{\text {arccosh}(c x)}\right )}{\sqrt {d-c^2 d x^2}}-\frac {b^2 c^2 \sqrt {-1+c x} \sqrt {1+c x} \arctan \left (\sqrt {-1+c x} \sqrt {1+c x}\right )}{\sqrt {d-c^2 d x^2}}-\frac {i b c^2 \sqrt {-1+c x} \sqrt {1+c x} (a+b \text {arccosh}(c x)) \operatorname {PolyLog}\left (2,-i e^{\text {arccosh}(c x)}\right )}{\sqrt {d-c^2 d x^2}}+\frac {i b c^2 \sqrt {-1+c x} \sqrt {1+c x} (a+b \text {arccosh}(c x)) \operatorname {PolyLog}\left (2,i e^{\text {arccosh}(c x)}\right )}{\sqrt {d-c^2 d x^2}}+\frac {\left (i b^2 c^2 \sqrt {-1+c x} \sqrt {1+c x}\right ) \text {Subst}\left (\int \frac {\operatorname {PolyLog}(2,-i x)}{x} \, dx,x,e^{\text {arccosh}(c x)}\right )}{\sqrt {d-c^2 d x^2}}-\frac {\left (i b^2 c^2 \sqrt {-1+c x} \sqrt {1+c x}\right ) \text {Subst}\left (\int \frac {\operatorname {PolyLog}(2,i x)}{x} \, dx,x,e^{\text {arccosh}(c x)}\right )}{\sqrt {d-c^2 d x^2}} \\ & = \frac {b c \sqrt {-1+c x} \sqrt {1+c x} (a+b \text {arccosh}(c x))}{x \sqrt {d-c^2 d x^2}}-\frac {\sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))^2}{2 d x^2}+\frac {c^2 \sqrt {-1+c x} \sqrt {1+c x} (a+b \text {arccosh}(c x))^2 \arctan \left (e^{\text {arccosh}(c x)}\right )}{\sqrt {d-c^2 d x^2}}-\frac {b^2 c^2 \sqrt {-1+c x} \sqrt {1+c x} \arctan \left (\sqrt {-1+c x} \sqrt {1+c x}\right )}{\sqrt {d-c^2 d x^2}}-\frac {i b c^2 \sqrt {-1+c x} \sqrt {1+c x} (a+b \text {arccosh}(c x)) \operatorname {PolyLog}\left (2,-i e^{\text {arccosh}(c x)}\right )}{\sqrt {d-c^2 d x^2}}+\frac {i b c^2 \sqrt {-1+c x} \sqrt {1+c x} (a+b \text {arccosh}(c x)) \operatorname {PolyLog}\left (2,i e^{\text {arccosh}(c x)}\right )}{\sqrt {d-c^2 d x^2}}+\frac {i b^2 c^2 \sqrt {-1+c x} \sqrt {1+c x} \operatorname {PolyLog}\left (3,-i e^{\text {arccosh}(c x)}\right )}{\sqrt {d-c^2 d x^2}}-\frac {i b^2 c^2 \sqrt {-1+c x} \sqrt {1+c x} \operatorname {PolyLog}\left (3,i e^{\text {arccosh}(c x)}\right )}{\sqrt {d-c^2 d x^2}} \\ \end{align*}
Both result and optimal contain complex but leaf count is larger than twice the leaf count of optimal. \(5036\) vs. \(2(430)=860\).
Time = 63.66 (sec) , antiderivative size = 5036, normalized size of antiderivative = 11.71 \[ \int \frac {(a+b \text {arccosh}(c x))^2}{x^3 \sqrt {d-c^2 d x^2}} \, dx=\text {Result too large to show} \]
[In]
[Out]
\[\int \frac {\left (a +b \,\operatorname {arccosh}\left (c x \right )\right )^{2}}{x^{3} \sqrt {-c^{2} d \,x^{2}+d}}d x\]
[In]
[Out]
\[ \int \frac {(a+b \text {arccosh}(c x))^2}{x^3 \sqrt {d-c^2 d x^2}} \, dx=\int { \frac {{\left (b \operatorname {arcosh}\left (c x\right ) + a\right )}^{2}}{\sqrt {-c^{2} d x^{2} + d} x^{3}} \,d x } \]
[In]
[Out]
\[ \int \frac {(a+b \text {arccosh}(c x))^2}{x^3 \sqrt {d-c^2 d x^2}} \, dx=\int \frac {\left (a + b \operatorname {acosh}{\left (c x \right )}\right )^{2}}{x^{3} \sqrt {- d \left (c x - 1\right ) \left (c x + 1\right )}}\, dx \]
[In]
[Out]
\[ \int \frac {(a+b \text {arccosh}(c x))^2}{x^3 \sqrt {d-c^2 d x^2}} \, dx=\int { \frac {{\left (b \operatorname {arcosh}\left (c x\right ) + a\right )}^{2}}{\sqrt {-c^{2} d x^{2} + d} x^{3}} \,d x } \]
[In]
[Out]
\[ \int \frac {(a+b \text {arccosh}(c x))^2}{x^3 \sqrt {d-c^2 d x^2}} \, dx=\int { \frac {{\left (b \operatorname {arcosh}\left (c x\right ) + a\right )}^{2}}{\sqrt {-c^{2} d x^{2} + d} x^{3}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {(a+b \text {arccosh}(c x))^2}{x^3 \sqrt {d-c^2 d x^2}} \, dx=\int \frac {{\left (a+b\,\mathrm {acosh}\left (c\,x\right )\right )}^2}{x^3\,\sqrt {d-c^2\,d\,x^2}} \,d x \]
[In]
[Out]